package com.jwm.client;

import com.jwm.model.App;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "client")
public class ClientConfig {
    private String name;
    private int timeHeartInterval;
    private int timeInfoInterval;
    private int timeComputerInterval;
    private String remoteUrl;
    private List<App> tomcatList;
    private List<App> jarList;
    private List<App> serviceList;
    private List<App> batList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemoteUrl() {
        return remoteUrl;
    }

    public void setRemoteUrl(String remoteUrl) {
        this.remoteUrl = remoteUrl;
    }

    public int getTimeHeartInterval() {
        return timeHeartInterval;
    }

    public void setTimeHeartInterval(int timeHeartInterval) {
        this.timeHeartInterval = timeHeartInterval;
    }

    public int getTimeInfoInterval() {
        return timeInfoInterval;
    }

    public void setTimeInfoInterval(int timeInfoInterval) {
        this.timeInfoInterval = timeInfoInterval;
    }

    public int getTimeComputerInterval() {
        return timeComputerInterval;
    }

    public void setTimeComputerInterval(int timeComputerInterval) {
        this.timeComputerInterval = timeComputerInterval;
    }

    public List<App> getTomcatList() {
        return tomcatList;
    }

    public void setTomcatList(List<App> tomcatList) {
        this.tomcatList = tomcatList;
    }

    public List<App> getJarList() {
        return jarList;
    }

    public void setJarList(List<App> jarList) {
        this.jarList = jarList;
    }

    public List<App> getServiceList() {
        return serviceList;
    }

    public void setServiceList(List<App> serviceList) {
        this.serviceList = serviceList;
    }

    public List<App> getBatList() {
        return batList;
    }

    public void setBatList(List<App> batList) {
        this.batList = batList;
    }
}
